package com.china08.yxyapi.entity.db.res;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntity;

/**
 * 保存临时文件的表 如果用户只上传了视频 之后就离开了 存到这个表里
 * 
 * @author Json
 *
 */
@Entity
@Table(name = "yxy_res_temp", catalog = "yxy_res")
public class YxyResTemp extends BaseEntity {

    private static final long serialVersionUID = -3349087297188607052L;

    @Column(name = "md5", nullable = false, length = 128)
    private String md5;

    @Column(nullable = false)
    private String location;

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

}
